#!/bin/sh
. $area51/Tools/scripts/mkplist/settings.conf

export PREFIX=${WORKDIR}/kdehier4/install
export WRKDIRPREFIX=${WORKDIR}/kdehier4/wrkdir
export PKG_DBDIR=${WORKDIR}/kdehier4/vardbpkg

if [ -d ${WORKDIR}/kdehier4 ]; then
	rm -rf ${WORKDIR}/kdehier4
fi

mkdir -p ${PREFIX}
mkdir -p ${WRKDIRPREFIX}
mkdir -p ${PKG_DBDIR}

(cd ${kdehier4_port} && make install -DINSTALL_AS_USER PREFIX=${PREFIX} clean)
(cd ${PREFIX} && find -d * -type d) | sort > ${OLDDIRS}

rm -rf ${WORKDIR}/kdehier4
